package com.hellobike.haxing.modules.supplier.consumer;

/**
 * @Description
 * @Author ZLB
 * @Date 2020/1/4
 * @Version 1.0
 **/
public final class CacheKey {

    /**
     * 后台分类子分类列表
     */
    public static final String CATEGORY_CHILDREN = "category:children:{}";

    /**
     * 前台分类子分类列表
     */
    public static final String FRONT_CATEGORY_CHILDREN = "frontCategory:children:{}";

    /**
     * 前台分类
     */
    public static final String FRONT_CATEGORY = "frontCategory:info:{}";

    /**
     * 营销标签
     */
    public static final String MARKETING_LABEL = "marketingLabel:{}";

    /**
     * 售后模板
     */
    public static final String AFTER_SALE_TEMPLATE = "afterSaleTemplate:{}";

    /**
     * 商品最近的活动列表
     */
    public static final String PRODUCT_RECENT_PROMOTIONS = "productRecentPromotions:{}";

    /**
     * 活动主信息
     */
    public static final String PROMOTION = "promotion:{}";

    /**
     * 限时抢购活动信息
     */
    public static final String PROMOTION_FLASH = "promotionFlash:{}";

    /**
     * 拼团活动信息
     */
    public static final String PROMOTION_GROUP = "promotionGroup:{}";

    /**
     * 近期某类型活动id列表
     */
    public static final String RECENT_PROMOTION_IDS = "recentPromotionIds:{}";

    /**
     * 优惠券
     */
    public static final String COUPON = "coupon:{}";

    /**
     * 券包
     */
    public static final String COUPON_PACKAGE = "couponPackage:{}";

    /**
     * 优惠券已发放数量
     */
    public static final String COUPON_SENDED_NUM = "couponSendedNum:{}";

    /**
     * 用户优惠券
     */
    public static final String USER_COUPON = "userCoupon:{}";

    /**
     * 用户优惠券ID按状态分组
     */
    public static final String USER_COUPON_STATUS_IDS_MAP = "userCouponStatusIdsMap:{}";

    /**
     * 用户优惠券操作锁
     */
    public static final String LOCK_USER_COUPON = "lock:userCoupon:{}";

    /**
     * 商品
     */
    public static final String PRODUCT = "product:{}";

    /**
     * SKU
     */
    public static final String SKU = "sku:{}";

    /**
     * 商品下SKU ID列表
     */
    public static final String PRODUCT_SKU_IDS = "product:{}:skuIds";

    /**
     * 销售库存
     */
    public static final String SKU_STOCK = "skuStock:{skuId}:{cityId}";

    /**
     * 标签
     */
    public static final String TAG = "tag:{}";

    /**
     * 站点所绑定的仓库
     */
    public static final String SHOP_BINDING_WAREHOUSE = "shopBindingWarehouse:{}";
    /**
     * 仓库销售库存
     */
    public static final String SKU_WAREHOUSE_STOCK = "skuWarehouseStock:{skuId}:{warehouseId}";
}
